package siyuan.run.sentinel.related;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: sy
 * @description:
 * @author: SY
 * @create: 2020-12-18 13:00
 **/
@RestController
@RequestMapping("related")
public class RelatedController {

    @GetMapping("a")
    public String a(){
        System.out.println("a 接口");
        return "a";
    }

    @GetMapping("b")
    public String b(){
        System.out.println("b 接口");
        return "b";
    }

}
